package com.yunxin.admin.system.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * 状态枚举
 *
 * @author zero°
 * @since 2023-05-22
 */
@Getter
public enum UserTypeEnum implements IBaseEnum<Integer> {

    /**
     * 用户类型 1.系统用户 2.商户用户
     */
    SYS(1, "系统用户"),
    MERCHANT(2, "商户用户");

    private final Integer value;

    private final String label;

    UserTypeEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
